package com.fm.service;

/**
 * Created by Administrator on 2018/7/30 0030.
 */

import com.fm.entity.Rule;
import com.fm.mapper.RuleMapper;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class RuleService extends MBaseService<Rule, Integer, RuleMapper>{

    public List<Rule> selectByEquipment(Integer equipmentId, String topic) {
        return getMyBatisDao().selectByEquipment(equipmentId, topic);
    }
}
